﻿using MediatR;
using SmartCity.ProcessEngine.ErrorCode;

namespace SmartCity.ProcessEngine.Api.Write.Application.Command.EventHandling
{
    /// <summary>
    /// 执行实例节点的审批工作的请求命令
    /// </summary>
    public class ExeInstanceNodeCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 审批的是哪个流程实例
        /// </summary>
        public long InstanceId {  get; set; }

        /// <summary>
        /// 是否同意
        /// </summary>
        public bool IsAgree {  get; set; }
        /// <summary>
        /// 审批意见
        /// </summary>
        public string OperatorOpinion { get; set; }
        /// <summary>
        /// 当前操作人(登陆人)
        /// </summary>
        public string AccountName {  get; set; }
    }
}
